home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / dev / c / flex246.lha / smakefile < prev    next >
Encoding:
Makefile  |  1994-02-15  |  1.4 KB  |  54 lines

  1. # MkMake made by Anders Hybertz, Copyright (c) 1991-93
  2. # $VER: MkMake 1.51
  3. # Last compiled on [ Apr 24 1993 ] at [ 21:57:41 ]
  4. # SCOPTIONS found. Setting these flags
  5.  
  6. PRG        = flex_030
  7. YACC            = bison122
  8. YACCOPTS        = -d
  9. LEX        = flex
  10. LEXOPTS     = -is8
  11. CC        = SC
  12. LINKER        = SLINK
  13. LIBPATH        = LIB:
  14. SCFLAGS        = CPU=68030 NOSTACKCHECK ERRORREXX NOMULTIPLEINCLUDES CODEMEMORY=FAST DATAMEMORY=FAST BSSMEMORY=FAST NOICONS OPTIMIZERTIME IGNORE=161 IGNORE=100  
  15. DEFINES        = DEFINE=AMIGA DEFINE=USG 
  16. SLINKFLAGS    = SMALLCODE SMALLDATA VERBOSE STRIPDEBUG 
  17. LIBS        = LIB:sc.lib LIB:amiga.lib
  18. STARTUP        = c.o
  19. OBJ        = ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o scan.o \
  20.           sym.o parse.o tblcmp.o yylex.o skel.o
  21.  
  22. $(PRG): $(OBJ)
  23.     $(LINKER) WITH temp.WITH <<!(temp.WITH)
  24.         FROM
  25.         $(LIBPATH)$(STARTUP) $(OBJ)
  26.         TO $(PRG)
  27.         LIB $(LIBS)
  28.         $(SLINKFLAGS)
  29.     <
  30.  
  31. .c.o:
  32.     $(CC) $(DEFINES) $(SCFLAGS) $*.c
  33.  
  34. .l.c:
  35.     $(LEX) -t $(LEXOPTS) $< > $*.c
  36. .y.c:
  37.         $(YACC) $(YACCOPTS) $< -o $*.c
  38. #!ยค********* Don't edit in the following lines ***********
  39. ccl.o: ccl.c flexdef.h 
  40. dfa.o: dfa.c flexdef.h 
  41. ecs.o: ecs.c flexdef.h 
  42. parse.c: parse.y flexdef.h
  43. parse.o: parse.c flexdef.h
  44. gen.o: gen.c flexdef.h 
  45. main.o: main.c flexdef.h  
  46. misc.o: misc.c flexdef.h 
  47. nfa.o: nfa.c flexdef.h 
  48. scan.c: scan.l flexdef.h parse.h 
  49. scan.o: scan.c flexdef.h parse.h 
  50. skel.o: skel.c flexdef.h  
  51. sym.o: sym.c flexdef.h 
  52. tblcmp.o: tblcmp.c flexdef.h 
  53. yylex.o: yylex.c flexdef.h parse.h 
  54.